//
//  MineInfoNewOneTableViewCell.m
//  MJApp
//
//  Created by wangliang on 15/7/22.
//  Copyright (c) 2015年 wangliang. All rights reserved.
//

#import "MineInfoNewOneTableViewCell.h"

@interface MineInfoNewOneTableViewCell ()
@property (weak, nonatomic) IBOutlet UIView *lineView;
@property (weak, nonatomic) IBOutlet UILabel *descLabel;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end

@implementation MineInfoNewOneTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)setInfoDic:(NSDictionary *)infoDic {
    
    _infoDic = infoDic;
    self.lineView.hidden = [infoDic[@"hidden"] boolValue];
    self.nameLabel.text = infoDic[@"name"];
    self.descLabel.text = infoDic[@"desc"];
}

@end
